package edu.fdzc.learn.service;

import edu.fdzc.learn.entity.Lesson;

import java.util.List;

public interface LessonService {
    void add(Lesson lesson);

    void update(Lesson lesson);

    void deleteById(int id);

    Lesson findById(int id);

    List<Lesson> findByCourseId(int courseId);

    List<Lesson> getall();
}
